#include<bits/stdc++.h>
using namespace std;
int n,m,x[505];
bool f,ff;
bool fff[505];
string s;
int main(){
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	cin>>n>>m;
	cin>>s;
	srand(time(0));
	cout<<rand()%2;
	return 0;
}
